<?php

namespace Xp130\Rank;

use Redis;
use Xp130\Rank\model\LeaderboardMainModel;


class Leaderboard
{
    public Redis $redis;

    public function __construct(Redis $redisClient){
        $this->redis = $redisClient;
        $model = new LeaderboardMainModel();
//        $model::where('id',1)
    }

    // 更新排行榜

    // 获取天排行报

    // 获取月排行榜

    // 获取总排行榜

}